package ModelLayer;


/**
 * Write a description of class Product here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public abstract class Product
{
    private int productId;
    private String title;
    private String description;
    private String locationNr;
    private int quantity;
    private double purchasePrice;
    private boolean isActive;

    public Product(int _productId, String _title, String _description, String _locationNr, int _quantity, double _purchasePrice, boolean _isActive)
    {
        productId = _productId;
        title = _title;
        description = _description;
        locationNr = _locationNr;
        quantity = _quantity;
        purchasePrice = _purchasePrice;
        isActive = _isActive;
    }
    
    public int getProductId()
    {
        return productId;    
    }
    
    public String getProductTitle()
    {
        return title;
    }
    
    public double getPurchasePrice()
    {
        return purchasePrice;
    }
}
